.cdn-cascader,
.cdn-cascader::before,
.cdn-cascader::after {
  box-sizing: border-box;
  margin: 0;
  font-size: var(--cdn-cascader-font-size);
  font-weight: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

.cdn-cascader {
  * {
    box-sizing: border-box;
  }
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
 
  &__header {
    display: flex;
    height: 56px;
    line-height: 56px;
    padding: 0px 24px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    transition: all 0.3s;
    box-shadow: 0px 4px 8px -2px rgba(31, 35, 41, 0.08);
  }
  &__content {
    flex: 1;
    overflow: hidden;
    padding:24px 0;
    .cdn-cascader__content--scrollbar {
      // padding: 24px !important;
    }
    .is-fullscreen {
      padding: 24px !important;
    }

  }
  &__footer {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    gap: 10px;
    transition: all 0.3s;
    background:linear-gradient(0deg, #FFF 22.05%, rgba(255, 255, 255, 0.00) 64px);

  }
}

.flex-1 {
  flex: 1;
}

.cascader-tooltip {
  display: none;
  opacity: 0;
  width: max-content;
  max-width: 240px;
  font-size: 12px;
  color: #fff;
  background-color: #303133;
  border: 1px solid #303133;
  padding: 2px 8px;
  z-index: 2000;
  line-height: 20px;
  word-wrap: break-word;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  transition: opacity 1s linear;
  border-radius: 4px;
  &::before {
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: -1;
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
    left: -5px;
    content: ' ';
    background: #303133;
    box-sizing: border-box;
    transition: opacity 1s linear;
  }
}
